<h1>Hana's Blog</h1>

{% block content %}

<h2> About Me </h2>

{% for aboutme in info %}

<div class="about_me">
 	{{aboutme.body}}
</div>

{% endfor %}

<h2> Recent Posts </h2>
{% for post in posts %}

<h3>{{post.title}}</h3>

<div class="post_meta">
	On {{post.date}}
</div>

<div class="post_cat">
	Category: {{post.category.name}}
</div>

<div class="post_body">
	 {{post.body|safe|linebreaks }}
</div>

{% endfor %}


<h3> Favorite Sites </h3>

{% for site in sites %}

<div class="site_name">
	<a href = {{site.title}}> {{site.title}} </a>
</div>

{% endfor %}

<h3> Categories</h3>

{% for c in category %}

<div class="cat_name">
	<a href = {{c.name}}> {{c.name}} </a>
</div>

{% endfor %}

{% endblock %}



